package cn.jellybmedia.org.domain;

import cn.jellybmedia.basic.domain.BaseDomain;
import cn.jellybmedia.basic.vo.SettledVo;
import com.fasterxml.jackson.annotation.JsonInclude;
import javafx.scene.Parent;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
* @Title:
* @Description: 员工表类
* @Author: Mr.Zhang
* @Version: 1.0
* @Date:  2022/6/27 8:32
* @Parameters:
* @Return
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee extends BaseDomain {

    private String phone;
    private Integer state;
    private Integer age;
    private Long departmentId;
    private Long logininfoId;
    private String username;
    private Long shopId;
    private String email;
    private String password = "123456";
    private String salt;

    // 商家驻入的密码二次校验.
    private String ComfirmPassword;
    // 店铺入住的参数图片验证码
    private String imageCodeValue;
    private String imageCodeKey; // 图形验证码
     private String phoneCode;// 手机验证码
     private String emailCode; // 邮箱验证码

    // 查询部门字段,引入部门表对象
    private Department department;



    // 创建部门树
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Parent> children= new ArrayList<>();


}
